/*
package com.summer.framework.gate.server.config;


import com.summer.framework.gate.server.filter.MyErrorFilter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.netflix.zuul.EnableZuulServer;
import org.springframework.cloud.netflix.zuul.ZuulServerAutoConfiguration;
import org.springframework.cloud.netflix.zuul.filters.post.SendErrorFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;

*/
/**
 * @auther: 杨杰
 * @date: 2018/11/14 16:11
 * @description:
 *//*

@Configuration
@EnableZuulServer
@Slf4j
public class MyZuulServerAutoConfiguration extends ZuulServerAutoConfiguration {

    @Bean
    @Primary
    @Override
    public SendErrorFilter sendErrorFilter() {
        return new MyErrorFilter();
    }

}
*/
